package org.example.demo01;

public class singer {
    String name;
    String sexing;
     int age;
     public static void n1(){
         System.out.println("这个歌手唱歌真好听");
     }
     public static void n2(){
         System.out.println("这可真是一个好歌手");
     }

    public static void main(String[] args) {
        singer u=new singer();
        u.name="林间";
        u.sexing="男";
        u.age=24;
        System.out.print("请输入歌手名字"+u.name+"展示它的年龄"+u.sexing+"说明它的性别"+u.age);
        u.n1();
        u.n2();
    }
}
